from rest_framework.viewsets import ModelViewSet
from . import good_channels_serializers
from goods.models import GoodsChannel
from meiduo_admin.my_paginate import MyPageNumberPagination
class GoodsChannelView(ModelViewSet):
    pagination_class = MyPageNumberPagination
    serializer_class = good_channels_serializers.GoodsChannelserializer
    queryset = GoodsChannel.objects.all()

